<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
<div id="app">
    <h2>
        {{massage}}
    </h2>
    <img v-bind:src="imgUrl"/>
    <a v-bind:href="aHref">百度一下</a>

    <img :src="imgUrl"/>
    <a :href="aHref">百度一下</a>
</div>

<script src="../js/vue.js"></script>
<script>
    const app = new Vue({
        el: '#app',
        data: {
            massage: '你好',
            imgUrl: 'https://img20.360buyimg.com/babel/s590x470_jfs/t1/187789/22/6490/125273/60ba10feE74212959/030f25d0a29c5653.jpg.webp',
            aHref: 'https://www.baidu.com'
        }
    })
</script>
</body>
</html>